package edu.hawaii.duedates;

import static org.junit.Assert.assertEquals;
import org.junit.Test; 

/**
 * Test case for the LibraryVault class.
 * Tests if constructor and methods work properly
 *
 * @author Tyler Wolf and Scheller Sanchez
 */

public class TestLibraryVault {
  /**
   * Test constructor. 
   */
  @Test
  public void testConstructor() {
    String libUrl = "TestUrl";
    String formName = "TestFormName";
    String param1 = "TestParam1";
    String param2 = "TestParam2"; 
    
    LibraryVault testLibrary = new LibraryVault(libUrl, formName, param1, param2);
    assertEquals("Test url matches", "TestUrl", testLibrary.libUrl);
    assertEquals("Test FormName matches", "TestFormName", testLibrary.formName);
    assertEquals("Test param1 matches", "TestParam1", testLibrary.param1);
    assertEquals("Test param2 matches", "TestParam2", testLibrary.param2);
    
  }
  
}